package com.whjfxx.terminal.config;

import cn.hutool.core.util.StrUtil;
import lombok.extern.log4j.Log4j2;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.AfterReturning;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

@Aspect
@Component
@Log4j2
public class ControllerAspect {

    @Pointcut("execution(public * com.whjfxx.terminal..*.controller..*.*(..))")
    public void controllerAspect() {
    }

    @Before(value = "controllerAspect()")
    public void methodBefore(JoinPoint joinPoint) {
        Object[] args = joinPoint.getArgs();

    }

}
